package com.guinea.generator;

import com.guinea.core.utils.StringUtils;

public class MappingOneToMany {
	String name;

	String className;

//	String refProperty;

	MappingClass parent;
	
	public MappingOneToMany(String name, String className) {
		super();
		this.name = StringUtils.uncapitalize(name);
		this.className = StringUtils.capitalize(className);
//		this.refProperty = StringUtils.uncapitalize(refProperty);
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
//
//	public String getRefProperty() {
//		return refProperty;
//	}
//
//	public void setRefProperty(String refProperty) {
//		this.refProperty = refProperty;
//	}

	public MappingClass getParent() {
		return parent;
	}

	public void setParent(MappingClass parent) {
		this.parent = parent;
	}

}
